<?php
$config = require_once THINK_PATH.'../common/config.php';

$part_config = array(
		/*框架配置*/
		'LAYOUT_ON' => true,
		'LAYOUT_NAME' => 'layout',

		/*项目配置*/
		'APP_NAME' => '清秀娃娃',

		/*数据库配置*/
		'DB_TYPE' 	  => 'mysql',
        'DB_HOST'     => 'rm-bp17t4joi267jv052.mysql.rds.aliyuncs.com',
        'DB_NAME'     => 'qingxiuwawa',
        'DB_USER'     => 'web_qxww',
        'DB_PWD'      => 'qian960hai^',
		'DB_PORT' 	  => '3306',
		'DB_CHARSET'  => 'utf8',
		'DB_PREFIX'   => 'qxww_',


	/*业务级别配置参数*/
		'menus' =>array(
				array(
						array(
							'tip' => '用户中心',
							'link' => 'javascript:void(0)'
						),
                        array(
                            'tip' => '护士管理',
                            'link' => '/index/nurse',
                        ),
                        array(
                            'tip'  => '消券管理',
                            'link' => '/index/input',
                        ),
						array(
							'tip'  => '修补管理',
							'link' => '/index/repair',
						),
//						array(
//							'tip' => '卡券管理',
//							'link' => '/index/card',
//						),
						array(
							'tip' => '管理员管理',
							'link' => '/user/admin',
						),
						array(
							'tip' => '角色管理',
							'link' => '/role/index',
						),

				),

				array(
						array(
								'tip' => '系统管理',
								'link' => '/config/set',
						),
						array(
								'tip' => '系统设置',
								'link' => '/config/set'
						),
						array(
								'tip' => '缓存设置',
								'link' => '/config/cacheset',
						),
				),
				
			),
		/*商品所属站点*/
		'FiterControl' => array(
				'dg\Controller\UserController',
				'dg\Controller\ApiController'
			),
		'icons' => array(
				'icon-briefcase','icon-list-alt','icon-user','icon-comment','icon-tasks','icon-credit-card','icon-folder-open','icon-hdd','icon-cloud','icon-cog'	
			),
		'open_cache' => false
);

$config = array_merge($config,$part_config);

return $config;
